package com.flyco.modules.stm.service;

import com.flyco.modules.stm.entity.StmPrintContent;
import com.flyco.modules.stm.entity.StmPrintTemplate;
import com.baomidou.mybatisplus.extension.service.IService;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 打印模板
 * @Author: flyco
 * @Date:   2020-10-27
 * @Version: V1.0
 */
public interface IStmPrintTemplateService extends IService<StmPrintTemplate> {

	/**
	 * 添加一对多
	 * 
	 */
	public void saveMain(StmPrintTemplate stmPrintTemplate, List<StmPrintContent> stmPrintContentList) ;
	
	/**
	 * 修改一对多
	 * 
	 */
	public void updateMain(StmPrintTemplate stmPrintTemplate, List<StmPrintContent> stmPrintContentList);
	
	/**
	 * 删除一对多
	 */
	public void delMain(String id);
	
	/**
	 * 批量删除一对多
	 */
	public void delBatchMain(Collection<? extends Serializable> idList);
	
}
